package com.atguigu.gmall.client.impl;

import com.atguigu.gmall.client.ActivityFeignClient;
import com.atguigu.gmall.common.result.Result;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * 降级方法实现类
 */
@SuppressWarnings("all")
@Component //将实现类放到ioc容器
public class ActivityDegradeFeignClient implements ActivityFeignClient {

    /**
     * 查询Redis中当日秒杀商品列表
     * @return
     */
    @Override
    public Result getSeckillGoodsList() {
        return null;
    }

    @Override
    public Result getSeckillGoods(Long skuId) {
        return null;
    }
}